import sys,os
sys.path.append(os.path.realpath('.'))


from routers.progress_router import *
from routers.question_router import *

def test_get_year_progress():
    model=get_year_progress(2012)
    print(model)

def test_get_years_progress():
    l=get_years_progress()
    print(l)

def test_get_subject_progress():
    model=get_subject_progress(11)
    print(model)

def test_get_subjects_progress():
    print(get_subjects_progress())

def test_get_chapters_progress_of_subject():
    print(get_chapters_progress_by_subject(11))

def test_get_question_by_id(qid=40):
    print(get_question_by_id(qid))

if __name__ == '__main__':
    # test_get_year_progress()
    # test_get_years_progress()
    # test_get_subject_progress()
    # test_get_subjects_progress()
    # test_get_chapters_progress_of_subject()
    test_get_question_by_id(32)